
      <tr>
        <td><%= product.name %></td>
        <td><%= product.desc %></td>
        <td><%= Category.find(product.category_id).name %> </td>
        <td><%= product.quantity %></td>
        <td><%= product.price %></td>
        <td><%= link_to 'Show', product %></td>

        <td><%= link_to 'Edit', edit_product_path(product) %></td>
        <!--
        
        <td><a href="" class="edit"> Edit </a>  <input type="hidden" name="product_id" value="<%=product.id %> ">
        </td>
		-->
        <td><%= link_to 'Destroy', product, method: :delete, data: { confirm: 'Are you sure?' } %></td>

      </tr>

